package com.example.s03themeleaf.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix="admin")
@Data
public class Admin {

    private String name;
    private int age;
}
